﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LRS.DAL;
using LRS.DTO;
namespace LRS.BLL
{
    public static class bCustomer
    {
        public static eCustomer GetCustomerByID(int CustomerID)
        {
            return dCustomer.GetCustomerByID(CustomerID);
        }
        public static List<eCustomer> GetCustomers()
        {
            return dCustomer.GetCustomers();
        }
        public static List<eCustomer> GetCustomersByKeyword(string keyword)
        {
            return dCustomer.GetCustomersByKeyword(keyword);
        }
        public static void Insert(eCustomer customer)
        {
            dCustomer.InsertCustomer(customer);
        }
        public static void Update(eCustomer customer)
        {
            dCustomer.UpdateCustomer(customer);
        }
        public static void DeleteCustomerByID(int CustomerID)
        {
            dCustomer.DeleteCustomerByID(CustomerID);
        }
    }
}
